﻿package core.display {
	
	import base.BaseMc;
	import flash.display.Stage;
	
	public class Loading extends BaseMc{

		private static var instance:Loading = new Loading();
		
		public static function show(stage:Stage):void {
			stage.addChild(instance);
		}
	
	
		
		private var bg:AlphaBg;
	

		public function Loading() {
			
		}
		
		protected override function onInit():void {
			if(this.bg == null){
				this.bg = new AlphaBg();
			}
			this.addChild(bg);
			
		}
		
		protected override function onRemove():void {
			
		}
		
		
		
	}
	
}
